<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	System.out.println("path:" + path);
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <title>教师信息列表</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link rel="stylesheet" type="text/css" href="../js/jquery-easy-ui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../js/jquery-easy-ui/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="../js/jquery-easy-ui/demo.css">
	<script type="text/javascript" src="../js/jquery-easy-ui/jquery.min.js"></script>
	<script type="text/javascript" src="../js/jquery-easy-ui/jquery.easyui.min.js"></script>
	<style type="text/css">
body{ font-size:12px; font-family:Arial, Helvetica, sans-serif; margin:0; padding:0 0 0 5px;}

a:link{text-decoration : underline;color : #333;} /*链接*/
a:visited {text-decoration : underline ;color : #333 ;} /*已访问链接*/
a:hover {text-decoration : underline;color : #f00 ;} /*鼠标经过链接*/
a:active {text-decoration : none ;color : #333 ;}  /*鼠标按下链接*/

.aebox{ width:100%;}
.aeheadbox{ background:url(<%=path%>/admin/images/btbgm.jpg); height:34px;}
.aeheadl{ height:34px; width:5px; background:url(images/btbgl.jpg) no-repeat; float:left;}
.aeheadm{ height:25px;  padding: 9px 0 0 15px; color:#FFF; font-size:14px;font-weight:bold; float:left;}
.aeheadr{ height:34px; width:3px; background:url(images/btbgr.jpg) no-repeat; float:right;}

.aelist{ width:99%; margin:auto; margin-bottom:5px;}
.aelist tr{ background:#f5f5f5;}
.trlist td{background:#aaa; height:24px;font-weight:bold;color:#FFF;}
.aelist tr:hover{ background:#e6e6e6;}
.list_1,.list_2,.list_3,.list_4,.list_5,.list_6{border-bottom:#e4e4e4 1px solid;border-right:#e4e4e4 1px solid;
border-left:#fff 1px solid;border-top:#fff 1px solid;vertical-align: middle; text-align:center; padding:5px;}
.list_7{border-bottom:#e4e4e4 1px solid;border-right:#e4e4e4 1px solid;
border-left:#fff 1px solid;border-top:#fff 1px solid;vertical-align: middle; text-align:center; padding:5px;}
.list_8{border-bottom:#e4e4e4 1px solid;border-right:#e4e4e4 1px solid;
border-left:#fff 1px solid;border-top:#fff 1px solid;vertical-align: middle; text-align:left; padding:5px;}
.list_1{ width:5%;border-left:0px; }
.list_2{width:15%; }
.list_3{width:15%;}
.list_4{width:15%;}
.list_5{width:15%;}
.list_6{width:20%;}
.list_7{width:15%;}

.list_oneline{ background: #CCC;border-right:#999 1px solid; border-bottom:#999 1px solid; border-left:0;border-top:#fff 1px solid; height: 30px; text-align:center; padding-top: 10px;}
.list_oneline2{ background: #eee;border-right:#e4e4e4 1px solid; border-bottom:#e4e4e4 1px solid; border-left:0;border-top:#fff 1px solid; height: 20px; text-align:center; padding-top: 5px;}
.trlist .list_1,.trlist .list_2,.trlist .list_3,.trlist .list_4,.trlist .list_5,.trlist .list_6,.trlist .list_7,.trlist .list_8{ border-right:#999; border-bottom:#999; text-align:center;}
</style>
  </head>
  
  <body>
  <div class="aebox">
 <div class="aeheadbox">
  <div class="aeheadl"></div>
  <div class="aeheadm">教师信息列表</div>
  <div class="aeheadr"></div>
 </div>
 <div class="aelist">
 
   <table width="100%" border="0" cellpadding="0" cellspacing="0">   
   <tr class="trlist">
    <td class="list_1">序号</td>
    <td class="list_2">工号</td>
    <td class="list_3">教师姓名</td>
    <td class="list_4">教师年龄</td>
    <td class="list_5">教师类型</td>
    <td class="list_6">教师专技水平</td>
    <td class="list_7">操作</td>
   </tr>

   <s:iterator value="tsallinfo" id="x"> 
    
   <tr >
    <td class="list_1">${x.teacher.id}</td>
    <td class="list_2">${x.teacher.workId} </td>
    <td class="list_3">${x.teacher.name}</td>
    <td class="list_4">${x.teacher.age}</td>
    <td class="list_5">${x.salary.kindname}</td>
    <td class="list_6">${x.salary.rankname}</td>
    <td class="list_7">
    <s:if test="%{#x.teacher.symbol==false}">
    <a href="teacher_evaTeacher.action?id=${x.teacher.id}">其他工作方面打分</a>
    </s:if><s:else>
    	已评 <a href="teacher_evaTeacher.action?id=${x.teacher.id}">重新评</a>
    </s:else>
    </td>
   </tr>
</s:iterator>
  </table>
  </div>
  </div>  
  </body>
</html>
